package com.bestcem.xm.user.mq.info.group;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 门店需要发送的信息
 *
 * @author qiongyu.cui <qiongyu.cui@idiaoyan.com>
 * @version v1.0
 * @date 2022/2/11 13:51
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class StoreInfo implements Serializable {

    private static final long serialVersionUID = 7433728014238404022L;

    /**
     * 组织id
     */
    @JsonProperty("grp_id")
    @JSONField(name = "grp_id")
    public String groupId;
    /**
     * 组织编码
     */
    @JsonProperty("code")
    @JSONField(name = "code")
    public String groupCode;
    /**
     * 组织名称
     */
    @JsonProperty("title")
    @JSONField(name = "title")
    public String groupName;

    public List ancestors;
}
